package com.master.service.role.roleDetail;

import com.master.constant.model.SysRoleDetail;

import java.util.List;

/**
 * @author Heath.Que
 * @version 1.0
 * @classname SysRoleDetailSerivce
 * @description TODO
 * @Date 2021/5/31 11:54
 **/
public interface SysRoleDetailService {

    /**
     * @Description: 按角色编号获取角色详情
     * @Parameter: [roleId]
     * @Return: List<SysRoleDetail>
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    List<SysRoleDetail> getRoleDetailByRoleId (Long roleId);

    /**
     * @Description: 修改单个角色详情
     * @Parameter: [roleDetail]
     * @Return: int
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    int modifyRoleDetail(SysRoleDetail roleDetail);

    /**
     * @Description: 批量修改角色详情信息
     * @Parameter: [roleDetails]
     * @Return: int
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    int modifyRoleDetails(List<SysRoleDetail> roleDetails);

    /**
     * @Description: 根据角色详情比那好修改角色详情
     * @Parameter: [roleDetailId]
     * @Return: int
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    int deleteRoleDetail(Long roleDetailId);

    /**
     * @Description: 根据角色详情编号集合批量删除角色详情信息
     * @Parameter: [roleDetailIds]
     * @Return: int
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    int deleteRoleDetails(List<Long> roleDetailIds);
}
